package com.xydtech.ecard.statistics.domain;

import com.xydtech.common.annotation.Excel;
import com.xydtech.common.core.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * 用户考勤对象 ecard_user_checking_list
 *
 * @author JHON
 * @date 2022-07-22
 */
public class EcardUserChecking extends BaseEntity {
    private static final long serialVersionUID = 1L;

    /** ID */
    private Long id;

    /** 打卡类型            1-营销打卡            2-包保打卡 */
    @Excel(name = "打卡类型            1-营销打卡            2-包保打卡")
    private String checkingType;

    /** 打卡地点 */
    @Excel(name = "打卡地点")
    private String location;

    /** 打卡照片 */
    @Excel(name = "打卡照片")
    private String imgUrl;

    /** 备注说明 */
    @Excel(name = "备注说明")
    private String memo;

    /** 打卡机构            打卡类型为2-包保打卡时使用 */
    private Long orgId;
    /** 打卡机构            打卡类型为2-包保打卡时使用 */
    @Excel(name = "打卡机构            打卡类型为2-包保打卡时使用")
    private String orgName;
    /** 打卡人 */
    private Long userId;
    /** 打卡人 */
    @Excel(name = "打卡人")
    private String userName;
    /** 打卡人机构 */
    private Long deptId;
    /** 打卡人机构 */
    @Excel(name = "打卡人机构")
    private String deptName;
    /** 经纬度 */
    private String coordinate;

    public void setId(Long id) {
        this.id = id;
    }

    public Long getId() {
        return id;
    }

    public void setCheckingType(String checkingType) {
        this.checkingType = checkingType;
    }

    public String getCheckingType() {
        return checkingType;
    }

    public void setLocation(String location) {
        this.location = location;
    }

    public String getLocation() {
        return location;
    }

    public void setImgUrl(String imgUrl) {
        this.imgUrl = imgUrl;
    }

    public String getImgUrl() {
        return imgUrl;
    }

    public void setMemo(String memo) {
        this.memo = memo;
    }

    public String getMemo() {
        return memo;
    }

    public void setOrgId(Long orgId) {
        this.orgId = orgId;
    }

    public Long getOrgId() {
        return orgId;
    }

    public void setUserId(Long userId) {
        this.userId = userId;
    }

    public Long getUserId() {
        return userId;
    }

    public void setDeptId(Long deptId) {
        this.deptId = deptId;
    }

    public Long getDeptId() {
        return deptId;
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public String getOrgName() {
        return orgName;
    }

    public void setOrgName(String orgName) {
        this.orgName = orgName;
    }

    public String getDeptName() {
        return deptName;
    }

    public void setDeptName(String deptName) {
        this.deptName = deptName;
    }

    public String getCoordinate() {
        return coordinate;
    }

    public void setCoordinate(String coordinate) {
        this.coordinate = coordinate;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
                .append("id", getId())
                .append("checkingType", getCheckingType())
                .append("createTime", getCreateTime())
                .append("location", getLocation())
                .append("imgUrl", getImgUrl())
                .append("memo", getMemo())
                .append("orgId", getOrgId())
                .append("userId", getUserId())
                .append("deptId", getDeptId())
                .append("limit", getLimit())
                .append("coordinate", getCoordinate())
                .toString();
    }
}
